package main

import "fmt"

func test(m map[int]string) {
	delete(m, 1)
}
func main() {
	m := map[int]string{1: "mike", 2: "yoyo", 3: "go"}
	fmt.Println("m = ", m)

	test(m) //在函数内部删除某个key,  引用传递

	fmt.Println("m = ", m)
}
